<!-- <div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">待办事项</h1>
  </div>
  <div class="panel panel-default">
    <div class="panel-body">
      <div class="col-lg-4">
        <div class="input-group">
          <div class="input-group-btn" >
            <span class="btn btn-default">企业名称</span>
          </div>
          <ui-select ng-model="searchform.code" theme="bootstrap">
            <ui-select-match placeholder="请选择机构..">{{$select.selected.company_name}}</ui-select-match>
            <ui-select-choices repeat="item.company_code as item in searchform.company_list | filter: $select.search">
              <span ng-bind-html="item.company_name | highlight: $select.search"></span>
            </ui-select-choices>
          </ui-select>
        </div>
      </div>
      <div class="col-lg-2">
        <div class="input-group-static">
          <ui-select ng-model="searchform.issue_status" theme="bootstrap">
            <ui-select-match placeholder="发放状态">{{$select.selected.name}}</ui-select-match>
            <ui-select-choices repeat="item.code as item in searchform.status | filter: $select.search">
              <span ng-bind-html="item.name | highlight: $select.search"></span>
            </ui-select-choices>
          </ui-select>
        </div>
      </div>
      <div class="col-lg-2 col-lg-offset-4">
        <button class="form-control btn btn-success" ng-click="search(1)">立即搜索</button>
      </div>
    </div>
  
    <div class="panel-body">
  
      <table class="table table-striped table-bordered" ng-show="!searchform.loading">
        <thead>
          <tr>
            <th class="col-md-1 text-center">企业名称</th>
            <th class="col-md-1 text-center">批次号</th>
            <th class="col-md-1 text-center">奖励金额(元)</th>
            <th class="col-md-1 text-center">状态</th>
            <th class="col-md-1 text-center">发放时间</th>
            <th class="col-md-1 text-center"></th>
          </tr>
        </thead>
        <tbody>
          <tr ng-repeat="info in issueList">
            <td class="text-center">{{info.company_name}}</td>
            <td class="text-center">{{info.batch_code}}</td>
            <td class="text-center">{{info.issue_money / 100}}</td>
            <td class="text-center">{{info.issue_status == '1' ? '已发放' : '未发放'}}</td>
            <td class="text-center">{{info.issue_time || '-'}}</td>
            <td class="text-center">
              <button type="button" class="btn btn-info btn-xs" ng-if="info.issue_status == '1'" ng-click="getInfo(info, false)">详情</button>
              <button type="button" class="btn btn-primary btn-xs" ng-if="info.issue_status != '1'" ng-click="getInfo(info, true)">确认发放</button>
            </td>
          </tr>
        </tbody>
      </table>
      <div class="text-right" ng-show="!searchform.loading">
        <pagination total-items="totalItems" ng-model="currentPage" ng-change="search(currentPage)" 
         previous-text="上一页" max-size="5" next-text="下一页" first-text="首页" last-text="尾页" 
         boundary-links="true" rotate="false" items-per-page="itemsPerPage">
        </pagination>
      </div>
    </div>
  
  </div>
   -->
   <div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
      <div class="panel panel-default">
      <div class="panel-body">
      <div class="col-sm-12">
      
          <div class="row ">
              <div class="col-sm-2">
                  <ui-select ng-model="searchform.code" theme="bootstrap">
                      <ui-select-match placeholder="请选择机构..">{{$select.selected.company_name}}</ui-select-match>
                      <ui-select-choices repeat="item.company_code as item in searchform.company_list | filter: $select.search">
                        <span ng-bind-html="item.company_name | highlight: $select.search"></span>
                      </ui-select-choices>
                  </ui-select>
              </div>
              <div class="col-sm-2">
                  <ui-select ng-model="searchform.issue_status" theme="bootstrap">
                      <ui-select-match placeholder="发放状态">{{$select.selected.name}}</ui-select-match>
                      <ui-select-choices repeat="item.code as item in searchform.status | filter: $select.search">
                        <span ng-bind-html="item.name | highlight: $select.search"></span>
                      </ui-select-choices>
                  </ui-select>
              </div>
              <div class="col-sm-2 pull-right">
                  <button class="btn btn-block btn-info" ng-click="create()">创建公告</button> 
              </div>
              <div class="col-sm-2 pull-right">
                  <button class="btn btn-block btn-info" ng-click="getlist()">搜索</button> 
              </div>
          </div>
      
      </div>
      </div>
      </div>
      <!-- searchArea -->
      
      <div class="panel panel-default">
          <div class="panel-body">
              <table class="table table-condensed table-hover table-bordered">
                  <thead>
                      <tr>
                          <th class="col-md-2 text-center">企业名称</th>
                          <th class="col-md-2 text-center">批次号</th>
                          <th class="col-md-2 text-center">奖励金额(元)</th>
                          <th class="col-md-2 text-center">状态</th>
                          <th class="col-md-2 text-center">发放时间</th>
                          <th class="col-md-2 text-center">操作</th>
                      </tr>
                  </thead>
                  <tbody>
                      <tr ng-repeat="info in issueList">
                          <td class="text-center">{{info.company_name}}</td>
                          <td class="text-center">{{info.batch_code}}</td>
                          <td class="text-center">{{info.issue_money / 100}}</td>
                          <td class="text-center">{{info.issue_status == '1' ? '已发放' : '未发放'}}</td>
                          <td class="text-center">{{info.issue_time || '-'}}</td>
                          <td class="text-center">
                            <button type="button" class="btn btn-info btn-xs" ng-if="info.issue_status == '1'" ng-click="getInfo(info, false)">详情</button>
                            <button type="button" class="btn btn-primary btn-xs" ng-if="info.issue_status != '1'" ng-click="getInfo(info, true)">确认发放</button>
                          </td>
                      </tr>
                  </tbody>
              </table>
              <div class="text-right">
                   <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="getlist()" previous-text="上一页" next-text="下一页"
                      first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                      class="m-t-none m-b">
                  </pagination>
              </div>
          </div>
      </div>
      
  </div>